import Cookies from 'js-cookie'

export class Keys {
    static sidebarStatusKey = 'sidebarStatusKey'
    static languageKey = 'languageKey'
    static sizeKey = 'sizeKey'
    static tokenKey = 'access-token'
    static aseKey = 'ase-key'
}


export const getSidebarStatus = () => Cookies.get(Keys.sidebarStatusKey)
export const setSidebarStatus = (sidebarStatus: string) => Cookies.set(Keys.sidebarStatusKey, sidebarStatus)


export const getToken = () => Cookies.get(Keys.tokenKey)
export const setToken = (token: string) => Cookies.set(Keys.tokenKey, token)
export const removeToken = () => Cookies.remove(Keys.tokenKey)
